<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>
		<neq name="title" value="">{$title} - </neq>
		<neq name="_title" value="">{$_title} - </neq>
		{$system_config['web_title']}
	</title>
	<meta name="keywords" content="{$system_config['web_keywords']}" />
	<meta name="description" content="{$system_config['web_description']}" />

	<link type="image/x-icon" href="__PUBLIC__/Images/favicon.ico" rel="icon">
	<link href="../Public/css/base.css" rel="stylesheet"/>
	<link href="../Public/css/style.css" rel="stylesheet"/>
	<link href="../Public/css/common.css" rel="stylesheet"/>
	<link href="../Public/css/if.css" rel="stylesheet"/>
	<link href="../Public/css/index-new.css" rel="stylesheet"/>

	<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="../Public/js/common.js"></script>
	<script type="text/javascript" src="../Public/js/slider.js"></script>
	<script type="text/javascript" src="../Public/js/guquan.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Js/date2/WdatePicker.js"></script>
	<script type="text/javascript">
		$(function(){
			$(window).scroll(function(e) {
				if($(window).scrollTop() > $('.banner').height()){
					$('.header-new').addClass('poFixed');
				}else {
					$('.header-new').removeClass('poFixed');
				}
	        });
	        $('.milv_top_l').hover(function() {
                $('.top_milv_f').stop().toggle();
            });	
		});
		$(function() {
        	$('.tab-pane').eq(0).show();
			$('.nav-tabs li').click(function(){ 
				$(this).addClass('hover').siblings().removeClass('hover');
				$(".tab-content > ul").hide().eq($('.nav-tabs li').index(this)).show(); 
			}); 
      	});
	</script>
</head>

<body>


<div class="top">
	<div class="wrap">
		<div class="milv_top">
			<div class="milv_top_l">
				<p class="top_milv">关注米律公众号</p>
	            <div class="top_milv_f">
	                <span>关注米律公众号</span>
	                <img class="top_milv_pic" src="../Public/img/milv.jpg" height="150" width="150" alt="" />
	            </div>
			</div>                     
            <ul class="clearfix">       
                <gt name="user_id" value="0">
					<eq name="is_lawyer" value="1">
						<li><a href="{:URL('LawyerCenter/index')}">律师中心</a></li>
						<li><a href="{:URL('LawyerOrder/index')}">订单中心</a></li>
					<else/>
						<li><a href="{:URL('User/index')}">用户中心</a></li>
						<li><a href="{:URL('UserOrder/index')}">订单中心</a></li>
					</eq>
					<li><a href="{:URL('User/logout', '', 'logout')}">退出</a></li>
				<else/>
					<li><a href="{:URL('Login/index', '', 'login')}">登录</a></li>
					<li><a  href="{:URL('User/register', '', 'register')}">注册</a></li>
					<li><a href="{:URL('User/lawyer_register', '', 'lawyer_register')}">律师注册</a></li>
					<li><a href="{:URL('Page/detail?module=contact_us', '', 'contact_us')}">联系我们</a></li>
                	<li><a href="{:URL('Page/detail?module=about', '', 'about')}">关于米律</a></li>
				</gt>
            </ul>        
        </div> 
	</div>
</div>

<div class="header-new">
	<div class="wrap">
		<div class="logo jump" url="{:U('/')}"></div>
		<ul class="menu">
			<li class="{:(in_array(CONTROLLER_NAME, array('Index')) ? 'on' : '')}">
				<a href="{:U('/')}">首页</a>
			</li>
			<li class="{:(in_array(CONTROLLER_NAME, array('FreeAgreement')) ? 'on' : '')}">
				<a href="{:URL('FreeAgreement/index', '', 'free_agreement')}">合同生成</a>
			</li>
			<li class="{:(in_array(CONTROLLER_NAME, array('CustomAgreement')) ? 'on' : '')}">
				<a href="{:URL('CustomAgreement/index', '', 'custom_agreement')}">定制服务</a>
			</li>
			<li class="{:(in_array(CONTROLLER_NAME, array('Schools')) ? 'on' : '')}">
				<a href="{:URL('Schools/index', '', 'schools')}">创业学院</a>
			</li>
			<li class="{:(in_array(CONTROLLER_NAME, array('Knowledge')) ? 'on' : '')}">
				<a href="{:URL('Knowledge/index', '', 'knowledge')}">知识库</a>
			</li>
		</ul>
		<p class="header-new-tell">400-0268-236</p>
	</div>
</div>
